import { ApiProperty } from '@nestjs/swagger';
import { BaseResult } from "@/common/base/base.result";
import { EvaluationProjectType } from "common/utils/data";

export class EvaluationProjectAllResult extends BaseResult {
  @ApiProperty()
  name: string;

  @ApiProperty()
  code: string;

  @ApiProperty()
  desc: string;

  @ApiProperty()
  sort: number;

  @ApiProperty()
  rule: object;

  @ApiProperty({
    enum: EvaluationProjectType
  })
  type: EvaluationProjectType;
}
